Important: jenkins and jenkins-2-plugins security update

Synopsis

Important: jenkins and jenkins-2-plugins security update

Type/Severity

Security Advisory: Important

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An update for jenkins and jenkins-2-plugins is now available for OpenShift Developer Tools and Services for OCP 4.13.

Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

Jenkins is a continuous integration server that monitors executions of repeated jobs, such as building a software project or jobs run by cron.

Security Fix(es):

  • apache-commons-text: variable interpolation RCE (CVE-2022-42889)
  • maven: Block repositories using http by default (CVE-2021-26291)
  • snakeyaml: Denial of Service due to missing nested depth limitation for collections (CVE-2022-25857)
  • maven-shared-utils: Command injection via Commandline class (CVE-2022-29599)
  • jenkins-2-plugins/script-security: Sandbox bypass vulnerability in Script Security Plugin (CVE-2023-24422)
  • Jenkins: Session fixation vulnerability in OpenShift Login Plugin (CVE-2023-37946)
  • jenkins: Arbitrary file read vulnerability through the CLI can lead to RCE (CVE-2024-23897)
  • jenkins: cross-site WebSocket hijacking (CVE-2024-23898)
  • jenkins-2-plugins/JUnit: Stored XSS vulnerability in JUnit Plugin (CVE-2023-25761)
  • jenkins-2-plugins/pipeline-build-step: Stored XSS vulnerability in Pipeline: Build Step Plugin (CVE-2023-25762)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • OpenShift Developer Tools and Services 4.13 x86_64
  • OpenShift Developer Tools and Services 4.13 s390x
  • OpenShift Developer Tools and Services 4.13 ppc64le
  • OpenShift Developer Tools and Services 4.13 aarch64

Fixes

  • BZ - 1955739 - CVE-2021-26291 maven: Block repositories using http by default
  • BZ - 2066479 - CVE-2022-29599 maven-shared-utils: Command injection via Commandline class
  • BZ - 2126789 - CVE-2022-25857 snakeyaml: Denial of Service due to missing nested depth limitation for collections
  • BZ - 2135435 - CVE-2022-42889 apache-commons-text: variable interpolation RCE
  • BZ - 2164278 - CVE-2023-24422 jenkins-2-plugins/script-security: Sandbox bypass vulnerability in Script Security Plugin
  • BZ - 2170039 - CVE-2023-25761 jenkins-2-plugins/JUnit: Stored XSS vulnerability in JUnit Plugin
  • BZ - 2170041 - CVE-2023-25762 jenkins-2-plugins/pipeline-build-step: Stored XSS vulnerability in Pipeline: Build Step Plugin
  • BZ - 2222709 - CVE-2023-37946 Jenkins: Session fixation vulnerability in OpenShift Login Plugin
  • BZ - 2260180 - CVE-2024-23897 jenkins: Arbitrary file read vulnerability through the CLI can lead to RCE
  • BZ - 2260182 - CVE-2024-23898 jenkins: cross-site WebSocket hijacking
  • JKNS-271 - Automate Polarion integration for smoke test
  • JKNS-289 - Draft Knowledgebase article for Jenkins out of payload
  • OCPBUGS-10934 - Bump Jenkins to 2.387.1
  • OCPBUGS-11158 - Mailer Plugin (mailer) has breaking changes in newest version
  • OCPBUGS-11329 - Mailer Plugin (mailer) has breaking changes in newest version
  • OCPBUGS-11446 - Update config-file-provider to fix plugin dependency issue
  • OCPBUGS-11452 - Update config-file-provider to fix plugin dependency issue
  • OCPBUGS-1357 - Jenkins install-plugins script does not ignore updates to locked plugin versions
  • OCPBUGS-13651 - [release-4.13] Bump Jenkins and Plugin versions
  • OCPBUGS-13870 - [release-4.13] Bump Jenkins Plugins to latest version
  • OCPBUGS-14112 - Update ImageStreams to use new Jenkins and Jenkins Agent Base images
  • OCPBUGS-14311 - Bump Jenkins Plugins to latest version
  • OCPBUGS-14634 - Bump Jenkins plugins to latest versions
  • OCPBUGS-15647 - [release-4.13] Update ImageStreams to use new Jenkins and Jenkins Agent Base images
  • OCPBUGS-15986 - Failure in periodic-ci-openshift-jenkins-release-4.13-jenkins-hypershift4.13-aws-jenkins-lp-rosa-hypershift, 07-10-2023
  • OCPBUGS-1709 - Align javax-mail-api with Jenkins Server 2.361.1
  • OCPBUGS-1942 - Bump Jenkins version to 2.361.1
  • OCPBUGS-2099 - Fix sshd embedded version
  • OCPBUGS-2184 - Update jenkins-client, jenkins-sync and openshift-login plugin to latest versions
  • OCPBUGS-2318 - Release and update client, sync and login plugins
  • OCPBUGS-27389 - release-4.13 - Bump Jenkins Plugin Versions and Go Dependencies
  • OCPBUGS-655 - Update blueocean-autofavorite to 1.2.5
  • OCPBUGS-6579 - update sample imagestreams with latest 4.11 image
  • OCPBUGS-6870 - Bump Jenkins to 2.361.4
  • OCPBUGS-710 - Add user coreydaley to list of approvers for openshift/jenkins
  • OCPBUGS-8377 - Update Go to v1.19
  • OCPBUGS-8442 - Jenkins images based on rhel8 are wrongly tagged with rhel7
  • OCPTOOLS-245 - Bump Jenkins version to 2.414.3 [openshift-4.13]